{% load pagebase %}
{% load components %}
{% load components.sidebar %}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{% spaceless %}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{% app_name %} - {% block title %}{% endblock %}</title>
<link rel="shortcut icon" href="/static/images/favicon.ico?v=2" />
<link rel="icon" href="/static/images/favicon-ani.gif?v=2" type="image/gif" />
{% block head_link %}{% endblock %}
{{ "layer.css"|include_css }}
{% block styles %}{% endblock %}
{% endspaceless %}
</head>
<body>
<div id="sidebar">
	<div class="inner">
		<div class="logo">
			<a href="/"><img src="/static/images/logo.png" /></a>
		</div>
		<div class="menu">
			<ul>
				<li><a href="/">首页</a></li>
				<li><a href="#">群组</a></li>
				<li><a href="{% url home_blogs %}">部落族人</a></li>
				<li><a href="#">最新文章</a></li>
				<li><a href="#">Tags</a></li>
			</ul>
		</div>
		{% block  sidebar %}
		{% endblock %}
	</div>
</div>
<div id="container">
	<div id="header">
		<h1>
			<a href="{% url apps.views.home %}">{% app_name %}</a>
		</h1>
		<div id="user-bar">
			{{ current_profile|componsent_user_bar }}
		</div>
	</div>
	<div id="sitemap">
		当前位置：<a href="/">{% app_name %}</a>{% block sitemap %}{% endblock %}
	</div>
	<div id="main">
		<div class="inner">
		{% block  main %}
		{% endblock %}
		</div>
		<div class="bottom"></div>
	</div>
	<div class="clear"></div>
	<div id="footer">
		<p class="links">
				<a href="#">关于我们</a> | <a href="#">开发博客</a> | <a href="#">项目源代码</a> | <a href="#">用户协议</a>
		</p>
		<p class="lincese">本站使用 <a href="http://creativecommons.org/licenses/by/3.0/deed.zh">署名 3.0 Unported</a> 协议,网友博客文章请注意文章内的<b>授权协议</b>标注。</p>
		<p>建议使用 Firefox 浏览, 分辨率 1024 * 768 以上。 </p>
	</div>
</div>
{% spaceless %}
{{ "lib/jquery.js"|include_js }}
{{ "lib/common.js"|include_js }}
{% block scripts %}{% endblock %}
{% endspaceless %}
</body>
</html>